﻿

<div id="ContentEditorNavi" style=""></div>



<div id="CMS_logout">
	<div style="float:left;width:5px;"><img src="img/toptab-left.gif" border="0" /></div>
	<div style="float:left;text-align:center">&nbsp;
		{foreach from=$home_navi item="item"}
			<a class="top" href="javascript:void(0);" onclick="{$item.onclick}">{$item.name}</a> | 
		{/foreach}
		<a class="top" href="javascript:void(0);" onclick="CMS.LogoutConfirm('ccdsDefaultPlugin');">{$smarty.config.Global_logout}</a>&nbsp;&nbsp;
	</div>
	<div style="float:right;width:5px;"><img src="img/toptab-right.gif" border="0" /></div>
	<br style="clear:both;" />
</div>

<div style="height: 65px;background: url('{$CMS_WEB_DIR}img/head-bg.gif') repeat-x;position:absolute;top:0px;left:0px;width:100%;z-index:100;">
	<div style="width: 980px;">
		<div style="float:left; width: 300px;text-align: center;">
				<img src="{$CMS_WEB_DIR}img/ccds-logo.gif" alt="CCDS" border="0" /><br />
		</div>
		<div style="float:left; width: 680px;">
		</div>
	</div>
</div>

{if ($smarty.session.CMS.user_level >= 1000) OR ($smarty.session.CMS.user_flags.navi_left)}
	<div id="navi" style="">
		<div style="height:22px;background: url({$CMS_WEB_DIR}img/headbar-bg.gif) repeat-x;">
			<div style="float: left; margin-left: 4px; margin-right: 4px;margin-top:4px;"><img src="{$CMS_LIBRARY_WEB}famfamfam/icons/world.png" border="0" alt="" /></div>
			<div style="float: left; margin-right:2px; margin-top:6px;color:#fff">
				{*$smarty.config.headbar_pagestructure*}
				<a href="javascript:void(0);" class="top" onclick="{literal}xajax.request({ccdsfun:'initNavi',ccdsclass:'ccdsDefaultPlugin'},{parameters:[]});{/literal}">{$smarty.config.headbar_pagestructure_reload}</a>
			</div>
			<br style="clear: both;" />
		</div>
		<div id="navicontainer" style="">
			
			<div id="divprojects"></div>
			<br style="clear:both;" />
			<br /><br />
			{if ($smarty.session.CMS.user_level >= 1000) OR ($smarty.session.CMS.user_flags.general_filemanager)}
				<div style="border-bottom: 1px dotted #ccc; margin-bottom: 4px; margin-left: 15px;">
					<div style="float: left;text-align: center;">
						<a href="javascript:void(0);" style="margin-right: 8px;"><img src="{$CMS_LIBRARY_WEB}famfamfam/icons/folder.png" alt="" border="0" /></a>
					</div>
					<div style="float: left;">
						<a href="javascript:void(0);" onclick="{strip}{literal}
	CMS.FileManager.open(
	{{/literal}
		root:'media',project_id:'',multiple:true,
		returnfield: {literal}{}});
	{/literal}{/strip}" class="tabnavi">{$smarty.config.NaviPanel_filemanager}</a>
	
	<br />
					
					</div>
					<br style="clear:both;" />
				</div>	
			{/if}
		</div>
		
		{if 0 < $admin_navi|@count}
		
			<div style="height:22px;background: url({$CMS_WEB_DIR}img/headbar-bg.gif) repeat-x;">
				<div style="float: left; margin-left: 2px; margin-right: 4px;margin-top:4px;"><img src="{$CMS_LIBRARY_WEB}famfamfam/icons/wrench.png" border="0" alt="" /></div>
				<div style="float: left; margin-right:2px; margin-top:6px;color:#fff">
					{$smarty.config.headbar_administration}
				</div>
				<br style="clear: both;" />
			</div>
			<br />
			<div id="navicontainer">
			
				{foreach from=$admin_navi item="navi"}
					<div style="border-bottom: 1px dotted #ccc; margin-bottom: 4px; margin-left: 15px;">
						<div style="float: left;text-align: center;">
							<a href="javascript:void(0);" style="margin-right: 8px;"><img src="{$navi.icon}" alt="" border="0" /></a>
						</div>
						<div style="float: left;">
							<a href="javascript:void(0);" onclick="{$navi.onclick}" class="tabnavi">{$navi.label}</a>
						</div>
						<br style="clear:both;" />
					</div>	
				{/foreach}
		
			</div>
		{/if}
	</div>
{/if}
<div id="CMS_border"><img src="{$CMS_WEB_DIR}img/v-border-top.gif" border="0" /></div>
<div id="ContentArea">&nbsp;</div>
<div id="CMS_border2"><img src="{$CMS_WEB_DIR}img/v-border-top.gif" border="0" /></div>
<div id="CMS_layout_append">
	{$templates_callback}
</div>

